<template>
  <div class="zq_message">

    <header>
      <div class="header-icon"></div>
      <div class="header-text">消息中心</div>
    </header>

    <main>
      <ul class="main-tab">
        <li>
          <a class="active" href="/" >全部</a>
        </li>
        <li><a href="/">HAOSF系统消息</a></li>
        <li><a href="/">客服信息</a></li>
      </ul>
      <div class="tab-content">
        暂无数据~
        <router-view></router-view>
      </div>
    </main>

  </div>
</template>

<script>
export default {
  name: 'homeMessage',
  methods: {

  }
}
</script>

<style lang='less' scoped>
.zq_message {
  header {
    height: 45px;
    width: 100%;
    display: flex;
    text-align: center;
    line-height: 45px;
    color: rgba(0, 0, 0, 1);
    border-bottom: 1px solid rgba(244, 244, 244, 1);
    background-color: #fff;
    .header-icon {
      width: 4px;
      height: 16px;
      background: rgba(230, 0, 18, 1);
      display: inline-block;
      vertical-align: -3px;
      margin-right: 4px;
      margin-left: 10px;
      margin-top: 15px;
    }
    .header-text {
      font-size: 16px;
      font-weight: 400;
    }
  }
  main {
    background-color: #fff;
    .main-tab {
      margin-right: 540px;
      width: 300px;
      height: 97px;
      display: flex;
      justify-content: space-between;
      font-size: 16px;
      font-weight: 400;
      margin-right: 10px;
      line-height: 64px;
      padding: 20px;
      box-sizing: border-box;
      a {
        font-weight: 400;
        font-size: 16px;
        font-weight: 400;
        color: #333333;
      }
      .active {
        color: #e60012;
      }
    }
    .tab-content {
      background-color: #fff;
      height: 500px;
      text-align: center;
    }
  }
}
</style>
